From: Roger Pau Monne Date: Thu, 14 Aug 2014 13:47:49 +0000 (+0200) Subject: configure: disable stubdomain build by default on FreeBSD X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~4460 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/success//%22http:/www.example.com/cgi/success/?a=commitdiff_plain;h=10ebe272c1a422c480f1fa7d383cf8c426052490;p=xen.git configure: disable stubdomain build by default on FreeBSD Stubdomain code as-is doesn't compile on FreeBSD, so disable it for now in order to have a working build. Please re-run autoconf after committing. Signed-off-by: Roger Pau Monné Cc: Ian Jackson Acked-by: Ian Campbell --- diff --git a/configure b/configure index a6efd3552a..5090baf27b 100755 --- a/configure +++ b/configure @@ -1916,6 +1916,12 @@ case "$host_cpu" in ;; esac +case "$host_os" in + freebsd*) + arch_enable_stubdom=n + ;; +esac + diff --git a/configure.ac b/configure.ac index f32f9af976..1843b527e0 100644 --- a/configure.ac +++ b/configure.ac @@ -28,6 +28,13 @@ case "$host_cpu" in ;; esac +dnl Stubdomains need some work in order to compile on FreeBSD +case "$host_os" in + freebsd*) + arch_enable_stubdom=n + ;; +esac + AX_SUBSYSTEM_DEFAULT_ENABLE([xen]) AX_SUBSYSTEM_DEFAULT_ENABLE([tools]) AX_SUBSYSTEM_CONDITIONAL([stubdom], $arch_enable_stubdom)